package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 专业管理对象 sys_major
 *
 * @author ruoyi
 * @date 2020-12-29
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_major")
public class SysMajor implements Serializable {

private static final long serialVersionUID=1L;


    /** 主键 */
    @TableId(value = "id")
    private Long id;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String name;

    /** 专业代码 */
    @Excel(name = "专业代码")
    private String code;

    /** 序号 */
    @Excel(name = "序号")
    private Integer sortNum;

    /** 备注说明 */
    @Excel(name = "备注说明")
    private String remark;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
